<%@ Page Language="C#" MasterPageFile="~/SFMaster.master" AutoEventWireup="true"
    CodeFile="Parameters.aspx.cs" Inherits="Admin_Parameters" Title="Untitled Page" %>

<%@ Register Assembly="WebControls" Namespace="WebControls" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderArchive" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMain" runat="Server">
    <table width="100%">
        <tr>
            <td>
                <cc1:SFGrid ID="sfgParameters" runat="server" OnNeedsDataSource="sfgParameters_NeedsDataSource"
                    AutoGenerateColumns="False" IsMasterPageControl="False" IsProtectedForLanguageChange="False"
                    OnRowCommand="sfgParameters_RowCommand">
                    <Columns>
                        <asp:TemplateField>
                            <itemtemplate>
                <asp:ImageButton id="ibtEdit" runat="server" CommandName="EditData" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"ParameterId") %>' ImageUrl="~/images/edit.gif"></asp:ImageButton>
            </itemtemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="ParameterName"></asp:BoundField>
                        <asp:BoundField DataField="ParameterValue"></asp:BoundField>
                    </Columns>
                </cc1:SFGrid>
            </td>
        </tr>
        <tr>
            <td>
                <cc1:SFButton ID="btnReset" runat="server" OnClick="btnReset_Click"/>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderEdit" runat="Server">
    <table>
        <tr>
            <td>
                <cc1:SFLabel ID="lblParameterNameValue" runat="server" IsProtectedForLanguageChange="true"></cc1:SFLabel>
            </td>
            <td>
                <cc1:SFTextBox ID="txtParameterValue" runat="server" ControlsLabel="lblParameterNameValue"></cc1:SFTextBox>
            </td>
        </tr>
    </table>
</asp:Content>
